export default {
	namespaced: true,
	state: {
		driverSocketID: '', //司机身份
		orderInfo: {}, //订单信息
	},
	mutations: {
		// 存储socketID-唯一标识
		setdriverSocketID(context, value) {
			context.driverSocketID = value
		},
		setOrderInfo(context, value) {
			context.orderInfo = value
			console.log(context.orderInfo)
		}
	}
}
